package designpattern.singleton;

/**
 * @author zhangxin
 * @date 2021/3/1
 */
public enum EnumSingleton {

    HELLO;

    private String name = "world";

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
